package cn.wh.beans.factory.support;

import cn.wh.beans.BeansException;
import cn.wh.core.io.Resource;
import cn.wh.core.io.ResourceLoader;

/**
 * @Author wanghao
 * @Date 2022-09-20 21:23
 * @Description: TODO
 */
public interface BeanDefinitionReader {

    BeanDefinitionRegistry getRegistry();

    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource)throws BeansException;

    void loadBeanDefinitions(Resource... resources) throws BeansException;

    void loadBeanDefinitions(String location) throws BeansException;

    void loadBeanDefinitions(String... locations) throws BeansException;
}
